<!-- photo and links of adv owner -->
<div class="grid_12">
  <div class="place-head">
    <h2><?php echo $infojabotabek['single']['place']['Place']['name'];?></h2>
    <p class="place-taxon">
      Kategori <a href="#">Kuliner</a>, di
      <?php
        echo $html->link($place['Place']['city'],
            array('action' => 'city', $place['Place']['city']));
      ?>
    </p>
  </div>
  <div class="place-logo">
    <img src="<?php echo $infojabotabek['images_url_relative_path'] .
                         $infojabotabek['images_resized_prefix'] .
                         $place['Place']['logo_filename'];?>" />
  </div>
</div>
<div class="clear"></div>

<!-- description and information -->
<div class="grid_12">
  <div class="single-page">
    <div class="place-description-single">
      <h3>Deskripsi</h3>
      <?php echo $infojabotabek['single']['place']['Place']['description'];?>
    </div>

    <?php $total_img = count($place['PlaceImage']);?>
    <?php if ($total_img): ?>
    <div class="place-photo-gallery">
      <h3>Galeri Photo</h3>
      <div class="photo-gallery-container">
        <a class="prev browse left"></a>
        <div id="photo-gallery">
          <div class="items">
            <?php
              $j = 0;
              while ($j < $total_img-1) {
                echo '<div>';
                for ($i = 0; $i < 5; $i++) {
                  if ($j == $total_img) {
                    break;
                  }
                  echo '<img src="' .
                        $infojabotabek['images_url_relative_path'] .
                        $infojabotabek['images_thumb_prefix'] .
                        $place['PlaceImage'][$j++]['imagename'] .
                        '" />';
                }
                echo '</div>';
              }
            ?>
          </div><!-- /items -->
        </div><!-- /photo-gallery -->
        <a class="next browse right"></a>
        <div class="clear"></div>
      </div><!-- /photo-gallery-container -->
    </div>
    <?php endif;?>

    <?php $total_video = count($place['PlaceVideo']);?>
    <?php if ($total_video): ?>
    <div class="place-video-gallery">
      <h3>Video</h3>
      <div class="video-gallery-container">
        <a class="prev browse left"></a>
        <div id="video-gallery">
          <div class="items">
            <!-- 1-5 -->
            <div>
               <img src="http://farm1.static.flickr.com/143/321464099_a7cfcb95cf_t.jpg" />
               <img src="http://farm4.static.flickr.com/3089/2796719087_c3ee89a730_t.jpg" />
               <img src="http://farm1.static.flickr.com/79/244441862_08ec9b6b49_t.jpg" />
               <img src="http://farm1.static.flickr.com/28/66523124_b468cf4978_t.jpg" />
               <img src="http://farm1.static.flickr.com/164/399223606_b875ddf797_t.jpg" />
            </div>
            <!-- 5-10 -->
            <div>
               <img src="http://farm1.static.flickr.com/163/399223609_db47d35b7c_t.jpg" />
               <img src="http://farm1.static.flickr.com/135/321464104_c010dbf34c_t.jpg" />
               <img src="http://farm1.static.flickr.com/40/117346184_9760f3aabc_t.jpg" />
               <img src="http://farm1.static.flickr.com/153/399232237_6928a527c1_t.jpg" />
               <img src="http://farm1.static.flickr.com/50/117346182_1fded507fa_t.jpg" />
            </div>
            <!-- 10-15 -->
            <div>
               <img src="http://farm4.static.flickr.com/3629/3323896446_3b87a8bf75_t.jpg" />
               <img src="http://farm4.static.flickr.com/3023/3323897466_e61624f6de_t.jpg" />
               <img src="http://farm4.static.flickr.com/3650/3323058611_d35c894fab_t.jpg" />
               <img src="http://farm4.static.flickr.com/3635/3323893254_3183671257_t.jpg" />
               <img src="http://farm4.static.flickr.com/3624/3323893148_8318838fbd_t.jpg" />
            </div>
          </div><!-- /items -->
        </div><!-- /photo-gallery -->
        <a class="next browse right"></a>
        <div class="clear"></div>
      </div><!-- /photo-gallery-container -->
    </div>
    <?php endif;?>

    <div class="place-contact-information">
      <h3>Alamat dan Kontak</h3>
        <?php if (!empty($place['Place']['phone'])):?>
        <p class="contact-info">
          <span>Phone:</span><strong>081315528932</strong>
        </p>
        <?php endif;?>

        <?php if (!empty($place['Place']['fax'])):?>
        <p class="contact-info">
          <span>Fax:</span><strong>081315528932</strong>
        </p>
        <?php endif;?>

        <?php if (!empty($place['Place']['website'])):?>
        <p class="contact-info">
          <span>Website:</span><strong>gedex.web.id</strong>
        </p>
        <?php endif;?>

        <?php if (!empty($place['Place']['email'])):?>
        <p class="contact-info">
          <span>Email:</span><strong>admin@gedex.web.id</strong>
        </p>
        <?php endif;?>

        <?php if ($place['Place']['lat'] && $place['Place']['lng']):?>
        <div id="map-container" class="small-map"></div>
        <?php endif;?>
    </div>
  </div>
</div>
<div class="clear"></div>
